import { RouterView } from 'vue-router';

import AppConfig from './views/AppConfig.vue';

const routes = [
  {
    path: 'config',
    component: RouterView,
    children: [
      {
        path: '',
        name: 'AppConfig',
        component: AppConfig,
        meta: {
          roles: ['admin'],
          title: '应用配置',
          requiresAuth: true,
        },
      },
    ],
  },
];

export default routes;
